package com.ursu.shared.actions;

import com.gwtplatform.dispatch.shared.Result;
import com.ursu.client.model.CurrentUser;

public class LoginResult implements Result {

	private CurrentUser currentUser;

	@SuppressWarnings("unused")
	private LoginResult() {
		// For serialization only
	}

	public LoginResult(CurrentUser currentUser) {
		this.currentUser = currentUser;
	}

	public CurrentUser getCurrentUser() {
		return currentUser;
	}
}
